HOST = '106.15.65.91'
PORT = '3306'
DATABASE = 'test_lmy'
USERNAME = 'root'
PASSWORD = '123456.'

# "root:mysql@127.0.0.1:3306/test31'"
DB_URI = "mysql+pymysql://{username}:{password}@{host}:{port}/{db}?charset=utf8"
DB_URI_FORMANT = DB_URI.format(username=USERNAME, password=PASSWORD, host=HOST, port=PORT, db=DATABASE)


class AppConfig:
    SECRET_KEY = "%&^%$^*%&^&^**%^&%&^45^&45as;dp"

    SQLALCHEMY_DATABASE_URI = DB_URI_FORMANT
    SQLALCHEMY_TRACK_MODIFICATIONS = False
    SQLALCHEMY_ECHO = False
